[INFO] fetching crate robot36-encoder 0.1.1...
[INFO] building robot36-encoder-0.1.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate robot36-encoder 0.1.1 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate robot36-encoder 0.1.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate robot36-encoder 0.1.1
[INFO] finished tweaking crates.io crate robot36-encoder 0.1.1
[INFO] tweaked toml for crates.io crate robot36-encoder 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0afa76a81995d0ceb78d8bd041f55eb79e53a4c986a8882577caa1c525c2d5be
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0afa76a81995d0ceb78d8bd041f55eb79e53a4c986a8882577caa1c525c2d5be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0afa76a81995d0ceb78d8bd041f55eb79e53a4c986a8882577caa1c525c2d5be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0afa76a81995d0ceb78d8bd041f55eb79e53a4c986a8882577caa1c525c2d5be", kill_on_drop: false }`
[INFO] [stdout] 0afa76a81995d0ceb78d8bd041f55eb79e53a4c986a8882577caa1c525c2d5be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 339aaca8cb3cef6e40158178fa13142e91bef053819777be54e2d96b11518547
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "339aaca8cb3cef6e40158178fa13142e91bef053819777be54e2d96b11518547", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling png v0.14.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling image v0.21.3
[INFO] [stderr]    Compiling robot36-encoder v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `encoder::Encoder`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use encoder::Encoder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `y_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn y_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `v_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn v_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `u_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn u_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `yuv_clamp`
[INFO] [stdout]   --> src/encoder/rgb2yuv.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn yuv_clamp(x: f32) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Encoder`
[INFO] [stdout]   --> src/encoder/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Encoder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SYNC_PORCH_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SYNC_PORCH_SECS: f32 = 0.003;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `PORCH_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | const PORCH_SECS: f32 = 0.0015;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `Y_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | const Y_SECS: f32 = 0.088;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `UV_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | const UV_SECS: f32 = 0.044;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `HORIZONTAL_SYNC_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | const HORIZONTAL_SYNC_SECS: f32 = 0.009;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SEPARATOR_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | const SEPARATOR_SECS: f32 = 0.0045;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `IMAGE_WIDTH`
[INFO] [stdout]   --> src/encoder/mod.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | const IMAGE_WIDTH: u32 = 320;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `IMAGE_HEIGHT`
[INFO] [stdout]   --> src/encoder/mod.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | const IMAGE_HEIGHT: u32 = 240;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/encoder/mod.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new(image: DynamicImage, rate: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `encode`
[INFO] [stdout]   --> src/encoder/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn encode(self: &mut Self) -> Result<Vec<i16>, String> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_codificated_image`
[INFO] [stdout]   --> src/encoder/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn add_codificated_image(self: &mut Self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_signal`
[INFO] [stdout]   --> src/encoder/mod.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 |     fn add_signal(self: &mut Self, number_of_ticks: u32, frequency: f32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_sample`
[INFO] [stdout]   --> src/encoder/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn add_sample(self: &mut Self, value: &f32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_freq`
[INFO] [stdout]   --> src/encoder/mod.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn add_freq(self: &mut Self, value: &f32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_y_scan`
[INFO] [stdout]   --> src/encoder/mod.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn add_y_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_v_scan`
[INFO] [stdout]    --> src/encoder/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn add_v_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_u_scan`
[INFO] [stdout]    --> src/encoder/mod.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn add_u_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_vis_header`
[INFO] [stdout]    --> src/encoder/mod.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn add_vis_header(self: &mut Self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `fclampf`
[INFO] [stdout]    --> src/encoder/mod.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn fclampf(self: &Self, x: f32, min: f32, max: f32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 55.69s
[INFO] running `Command { std: "docker" "inspect" "339aaca8cb3cef6e40158178fa13142e91bef053819777be54e2d96b11518547", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "339aaca8cb3cef6e40158178fa13142e91bef053819777be54e2d96b11518547", kill_on_drop: false }`
[INFO] [stdout] 339aaca8cb3cef6e40158178fa13142e91bef053819777be54e2d96b11518547
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] dfa67d2f5650bd610e10c4258a63bc59831e6371f31a475cdd584c915267ee6f
[INFO] running `Command { std: "docker" "start" "-a" "dfa67d2f5650bd610e10c4258a63bc59831e6371f31a475cdd584c915267ee6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling hound v3.4.0
[INFO] [stdout] warning: unused import: `encoder::Encoder`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use encoder::Encoder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `y_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn y_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `v_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn v_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `u_rgb`
[INFO] [stdout]  --> src/encoder/rgb2yuv.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn u_rgb(r: u8, g: u8, b: u8) -> u8 {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `yuv_clamp`
[INFO] [stdout]   --> src/encoder/rgb2yuv.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn yuv_clamp(x: f32) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Encoder`
[INFO] [stdout]   --> src/encoder/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Encoder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SYNC_PORCH_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SYNC_PORCH_SECS: f32 = 0.003;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `PORCH_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | const PORCH_SECS: f32 = 0.0015;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `Y_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | const Y_SECS: f32 = 0.088;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `UV_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | const UV_SECS: f32 = 0.044;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `HORIZONTAL_SYNC_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | const HORIZONTAL_SYNC_SECS: f32 = 0.009;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SEPARATOR_SECS`
[INFO] [stdout]   --> src/encoder/mod.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | const SEPARATOR_SECS: f32 = 0.0045;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `IMAGE_WIDTH`
[INFO] [stdout]   --> src/encoder/mod.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | const IMAGE_WIDTH: u32 = 320;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `IMAGE_HEIGHT`
[INFO] [stdout]   --> src/encoder/mod.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | const IMAGE_HEIGHT: u32 = 240;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/encoder/mod.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new(image: DynamicImage, rate: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `encode`
[INFO] [stdout]   --> src/encoder/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn encode(self: &mut Self) -> Result<Vec<i16>, String> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_codificated_image`
[INFO] [stdout]   --> src/encoder/mod.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn add_codificated_image(self: &mut Self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_signal`
[INFO] [stdout]   --> src/encoder/mod.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 |     fn add_signal(self: &mut Self, number_of_ticks: u32, frequency: f32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_sample`
[INFO] [stdout]   --> src/encoder/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn add_sample(self: &mut Self, value: &f32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_freq`
[INFO] [stdout]   --> src/encoder/mod.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn add_freq(self: &mut Self, value: &f32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_y_scan`
[INFO] [stdout]   --> src/encoder/mod.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn add_y_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_v_scan`
[INFO] [stdout]    --> src/encoder/mod.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn add_v_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_u_scan`
[INFO] [stdout]    --> src/encoder/mod.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn add_u_scan(self: &mut Self, y: &u32) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_vis_header`
[INFO] [stdout]    --> src/encoder/mod.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn add_vis_header(self: &mut Self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `fclampf`
[INFO] [stdout]    --> src/encoder/mod.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn fclampf(self: &Self, x: f32, min: f32, max: f32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling robot36-encoder v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: crate name using dashes are not valid in `extern crate` statements
[INFO] [stdout]  --> examples/encode-cli.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate robot36-encoder;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ dash-separated idents are not valid
[INFO] [stdout]   |
[INFO] [stdout] help: if the original crate name uses dashes you need to use underscores in the code
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate robot36_encoder;
[INFO] [stdout]   |                     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `encoder`
[INFO] [stdout]  --> examples/encode-cli.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use encoder::Encoder;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `encoder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `robot36-encoder`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `samples`
[INFO] [stdout]   --> src/lib.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let samples = encoder.encode();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "dfa67d2f5650bd610e10c4258a63bc59831e6371f31a475cdd584c915267ee6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfa67d2f5650bd610e10c4258a63bc59831e6371f31a475cdd584c915267ee6f", kill_on_drop: false }`
[INFO] [stdout] dfa67d2f5650bd610e10c4258a63bc59831e6371f31a475cdd584c915267ee6f
